package com.vhall.component.entity.filter;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 敏感词库
 *
 * @author longzhen.gong
 * @date 2021/7/2 14:55
 */
@Data
@TableName("filter_words")
public class FilterWordsEntity implements Serializable {

    private static final long serialVersionUID = 6422416739318140744L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 商户id
     */
    @TableField("account_id")
    private Integer accountId;

    /**
     * 敏感词
     */
    @TableField("keyword")
    private String keyword;

    /**
     * 房间id
     */
    @TableField("il_id")
    private Integer ilId;

    /**
     * 创建者id
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * '状态：1-正常，0-删除',
     */
    @TableField("status")
    private Integer status;


    @TableField("created_at")
    private LocalDateTime createdAt;


    @TableField("updated_at")
    private LocalDateTime updatedAt;


    @TableField("deleted_at")
    private LocalDateTime deletedAt;

    @TableField("room_id")
    private String roomId;

}
